package com.sike.netty.im.common.codc;

import io.netty.handler.codec.LengthFieldBasedFrameDecoder;

/**
 * Protocol 解码器
 *
 * @author chenssy
 * @date 2023/09/13
 */
public class ProtocolFrameDecoder extends LengthFieldBasedFrameDecoder {
    public ProtocolFrameDecoder() {
        this(1024,6,4,0,0);
    }

    public ProtocolFrameDecoder(int maxFrameLength, int lengthFieldOffset, int lengthFieldLength, int lengthAdjustment, int initialBytesToStrip) {
        super(maxFrameLength, lengthFieldOffset, lengthFieldLength, lengthAdjustment, initialBytesToStrip);
    }
}
